//
//  CreaditUtilsHelper.h
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface CreaditUtilsHelper : NSObject

+ (void)boxShowErrorWithMessage:(NSString *)message duration:(NSTimeInterval)duration;

+ (void)boxShowWithMessage:(NSString *)message onView:(UIView *)view withImg:(UIImage *)img duration:(NSTimeInterval)duration;

+ (void)boxShowWithMessage:(NSString *)message;

+ (void)boxShowWithMessage:(NSString *)message onView:(UIView *)view;

+ (void)boxShowWithMessage:(NSString *)message onView:(UIView *)view duration:(NSTimeInterval)duration ;

+ (void)boxShowWithMessage:(NSString *)message duration:(NSTimeInterval)duration;

+ (void)boxShowLoadWithMessage:(NSString *)message onView:(UIView *)view withOffsetHeight:(CGFloat)offHeight;

+ (void)boxShowLoadWithMessage:(NSString *)message;

+ (void)boxShowLoadWithMessage:(NSString *)message onView:(UIView *)view;

+ (void)hideLoadMessageBoxFromView:(UIView *)view;

+ (void)hideLoadMessageBox;


+ (void)actionWhenLogin:(VoidBlock)block onVC:(UIViewController *)vc;

+ (void)actionWhenLogin:(VoidBlock)block;

@end
